- 
		Home
	
 
	- 
Simply Static – The Static Site Generator
 
- 
3.5.0 (latest)
 
- 
Code
 
- 
Classes
 
-  Query 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											50 | 
										
																			
											| Dependencies | 
											6 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											432 | 
										
																			
											| Lines of code | 
											212 | 
										
																			
											| Logical lines of code | 
											127 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											149 | 
										
																			
											| Methods | 
											20 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| where() | 
									A  | 
																	49 | 
													9 | 
													31 | 
							
					
				| compose_query() | 
									A  | 
																	50 | 
													8 | 
													27 | 
							
					
				| compose_update_query() | 
									S  | 
																	58 | 
													4 | 
													14 | 
							
					
				| find() | 
									S  | 
																	57 | 
													3 | 
													18 | 
							
					
				| escape_and_quote() | 
									S  | 
																	62 | 
													3 | 
													12 | 
							
					
				| first() | 
									S  | 
																	59 | 
													2 | 
													15 | 
							
					
				| find_by() | 
									S  | 
																	59 | 
													2 | 
													15 | 
							
					
				| find_or_initialize_by() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| find_or_create_by() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| update_all() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| offset() | 
									S  | 
																	68 | 
													2 | 
													7 | 
							
					
				| compose_select_query() | 
									S  | 
																	64 | 
													2 | 
													10 | 
							
					
				| where_sql() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| delete_all() | 
									S  | 
																	71 | 
													1 | 
													6 | 
							
					
				| delete_by_id() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| count() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| get_raw_sql() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| limit() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| order() | 
									S  | 
																	77 | 
													1 | 
													4 |